﻿@model online_magazine1.Models.Theme

@{
    ViewBag.Title = @Model.ThemeName;
}

<table>
    <tr>
        <th>Author</th>
        <th>Description</th>
        <th>Date created</th>
        <th></th>
    </tr>
    @foreach (var article in Model.Articles)
    {
    <tr>
        <td>@article.AuthorId</td>
        <td>@article.Description</td>
        <td>@article.DateCreated</td>
        <td>@Html.ActionLink("View", "Details", new { id = article.ArticleId })</td>
    </tr>
    }
</table>
